package com.zhanghao.sdk.service;

import com.zhanghao.sdk.callback.IZHServiceCallback;
import com.zhanghao.sdk.service.account.LoginService;
import com.zhanghao.sdk.service.other.SMSService;

import org.json.JSONObject;

import java.util.HashMap;

/**
 * 登录业务
 * @author Zhanghao
 * @version 1.0.0
 */
public class LoginServiceImpl extends BaseServiceImpl implements LoginService, SMSService {

    @Override
    public void accountLogin(String username, String password, IZHServiceCallback callback) {

    }

    @Override
    public void tokenLogin(String token, IZHServiceCallback callback) {

    }

    @Override
    public void smsLogin(String phone, String code, IZHServiceCallback callback) {

    }

    @Override
    public void smsRegLogin(String phone, String code, IZHServiceCallback callback) {

    }

    @Override
    public void otherLogin(String loginType, HashMap data, IZHServiceCallback callback) {

    }

    @Override
    protected void callback(String flag, JSONObject data) {
        super.callback(flag, data);
    }

    @Override
    public void sendMessage(String phone, String type, IZHServiceCallback callback) {

    }
}
